addPlaylistListener

Adds a PlaylistListener to receive callbacks for playlist events, such as when a source starts or completes.

Parameters

listener

The listener to add. Must not be null.